﻿namespace JunFan.Domain
{
    using System;

    public class BusinessRuleException : ApplicationException
    {
        public string Key { get; private set;  }

        public BusinessRuleException(string key, string message) : base(message)
        {
            Key = key;
        }
    }
}